<?php


namespace app\shopConsole\service\level;


use app\dao\user\ShopLevelDao;


class ShopLevelQueryService
{
    public function getPageListByShopId($shop_id, $page, $perPage)
    {
        $shopLevelDao = new ShopLevelDao();
        return $shopLevelDao->getPageListByShopId($shop_id, $page, $perPage);
    }

    public function getListByShopId($shop_id)
    {
        $shopLevelDao = new ShopLevelDao();
        return $shopLevelDao->getAllByShopId($shop_id);
    }
}